﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Orchard.Environment.Extensions;
using Orchard.Data.Conventions;

namespace Downplay.Audit.Models
{
    public class AuditRecord
    {

        public virtual long Id { get; set; }
        public virtual int? ContentItemId { get; set; }
        public virtual int? ContentItemVersionId { get; set; }
        public virtual long UserLocationId { get; set; }
        [StringLength(31)]
        public virtual string AuditCode { get; set; }
        [StringLengthMax]
        public virtual string AuditData { get; set; }

        public virtual DateTime TimeInitiated { get; set; }
        public virtual DateTime? TimeCompleted{ get; set; }
        [StringLengthMax]
        public virtual string SourceUrl { get; set; }
        [StringLengthMax]
        public virtual string ReferrerUrl { get; set; }


    }
}